home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
pctyp2_c.arc
/
PCTDOC1.EXE
/
lha
/
CHAP23.TXT
< prev
next >
Wrap
Text File
|
1989-04-21
|
17KB
|
393 lines
subject: MULTIPLE WINDOWS
discussion: You can split your PC-Type II screen into multiple
windows in which you can view different parts of the
same file or different files.
The Screen Options menu provides all the screen
windowing functions. This menu is reached via the
"(S)creen" option from the Main Menu.
The available options in the Screen Options menu will
change depending upon the number of windows currently
displayed on your screen.
┌──────────────────────┐
│Screen Options: │ page
╞══════════════════════╪═══════
│(S)plit window │ 231
│(D)rop active window │ 233
│(R)otate active window│ 233
│(M)ove division bar(s)│ 234
│(E)dit different files│ 235
│e(X)it │<--Exit Screen Options
└──────────────────────┘
222
subject: SPLIT SCREEN OPTIONS
overview: You can split your screen into 2, 3 or 4 windows in
which you can view different parts of the same file
and/or different files.
You can split your screen with the Screen Options menu
which is loaded by selecting the "(S)creen" option
from the Main Menu. The Screen Options menu adds and
drops options depending upon the number of windows
being shown and the number of files in memory.
In its simplest form (screens not split and only one
file in memory) it looks like:
┌─────────────────────────┐
│Screen Options: │
╞═════════════════════════╡
│(V)ertical window split │
│(H)orizontal window split│
│e(X)it from menu. │
└─────────────────────────┘
For the purposes of discussion, the following picture
will be used to depict your screen as it would
normally appear with PC-Type II active.
╔══════════════════╡████╞══════════════════╗
║ ║
║ ║
║ ║
║ ║
║ ║
║ ║
║ ║
║ ║
╟....^....^....^....^....^....^....^....^..╢
║██████████████████████████████████████████║
╨ Message line ╨
Further, assume multiple files are active which adds
one more menu option: "(E)dit different files".
┌─────────────────────────┐
│Screen Options: │
╞═════════════════════════╡
│(V)ertical window split │
│(H)orizontal window split│
│(E)dit different files │
│e(X)it from menu. │
└─────────────────────────┘
The discussion which follows will describe each of the
Screen Options menu functions.
223
(V)ertical: The Screen Options menu initially provides the option
to split the screen vertically or horizontally.
Selecting the vertical option splits the screen like:
╔═══════╡████╞═══════╤╤═══════╡████╞═══════╗
║ ││ ║
║ ││ ║
║ ││ ║
║ ││ ║
║ A ││ B ║
║ ││ ║
║ ││ ║
╟....^....^....^....^┴┴....^....^....^....^╢
║██████████████████████████████████████████║
╨ Message line ╨
(H)orizontal: while a horizontal split would look like:
╔══════════════════╡████╞══════════════════╗
║ ║
║ C ║
║ ║
╟....^....^....^....^....^....^....^....^..╢
╠══════════════════╡████╞══════════════════╣
║ ║
║ D ║
║ ║
╟....^....^....^....^....^....^....^....^..╢
║██████████████████████████████████████████║
╨ Message line ╨
For both the (V)ertical and (H)orizontal selections,
the Screen Options menu will change to look like:
┌──────────────────────┐
│Screen Options: │
╞══════════════════════╡
│(S)plit window │
│(D)rop active window │
│(R)otate active window│
│(M)ove division bar(s)│
│(E)dit different files│
│e(X)it from menu. │
└──────────────────────┘
(S)plit window: Additional splits to the screen are now predefined.
If the cursor is in a window occupying half the
screen, that window will be split first. If it is in
a window occupying only one fourth of the screen, then
the window which still occupies one half the screen
will be split. Splitting the screens above could
produce any of the 4 patterns on the next page.
224
╔═══════╡████╞═══════╤╤═══════╡████╞═══════╗
║ cursor ends ││ This configuration ║
║ up here. ││ results when the ║
║ ││ cursor is in ║
╟....^....^....^....^┤│ screen A on the ║
╠═══════╡████╞═══════╡│ previous page and ║
║ ││ and option ║
║ ││ "(S)plit window" ║
║ ││ is selected. ║
╟....^....^....^....^┴┴....^....^....^....^╢
║██████████████████████████████████████████║
╨ Message line ╨
╔═══════╡████╞═══════╤╤═══════╡████╞═══════╗
║ This configuration ││ cursor ends ║
║ results when the ││ up here. ║
║ cursor is in ││ ║
║ screen B on the │├....^....^....^....^╢
║ previous page and │╞═══════╡████╞═══════╣
║ and option ││ ║
║ "(S)plit window" ││ ║
║ is selected. ││ ║
╟....^....^....^....^┴┴....^....^....^....^╢
║██████████████████████████████████████████║
╨ Message line ╨
╔══════════════════╡████╞══════════════════╗
║ This configuration results when the cur- ║
║ sor is in D on the previous page and ║
║ option "(S)plit window" is selected. ║
╟....^....^....^....^....^....^....^....^..╢
╠═══════╡████╞═══════╤╤═══════╡████╞═══════╣
║ cursor ends ││ ║
║ up here. ││ ║
║ ││ ║
╟....^....^....^....^┴┴....^....^....^....^╢
║██████████████████████████████████████████║
╨ Message line ╨
╔═══════╡████╞═══════╤╤═══════╡████╞═══════╗
║ cursor ends ││ ║
║ up here. ││ ║
║ ││ ║
╟....^....^....^....^┴┴....^....^....^....^╢
╠══════════════════╡████╞══════════════════╣
║ This configuration results when the cur- ║
║ sor is in C on the previous page and ║
║ option "(S)plit window" is selected. ║
╟....^....^....^....^....^....^....^....^..╢
║██████████████████████████████████████████║
╨ Message line ╨
Each of these configurations permits only one more
split which will result in a configuration of 4
sections as shown on the next page.
225
The final screen configuration consisting of four
sections would look like:
╔═══════╡████╞═══════╤╤═══════╡████╞═══════╗
║ ││ ║
║ ││ ║
║ ││ ║
╟....^....^....^....^┤├....^....^....^....^╢
╠═══════╡████╞═══════╡╞═══════╡████╞═══════╣
║ ││ ║
║ ││ ║
║ ││ ║
╟....^....^....^....^┴┴....^....^....^....^╢
║██████████████████████████████████████████║
╨ Message line ╨
Since no more splitting is possible, the "(S)plit
window" option is removed from the menu as shown.
┌──────────────────────┐
│Screen Options: │
╞══════════════════════╡
│(D)rop active window │
│(R)otate active window│
│(M)ove division bar(s)│
│(E)dit different files│
│e(X)it from menu. │
└──────────────────────┘
NOTE: Whenever a screen is split, the new window will
display the same file at the same location as
the file in which the cursor was located prior
to the split. After the split takes place, the
cursor remains in the "same" window it was in
initially.
(D)rop: In any of the split screen configurations depicted
above, a screen can be "dropped" at any time with the
"(D)rop active window" option. You can continue to
"drop" windows until the screen is restored to just
one screen.
(R)otate: The "(R)otate active window" option will move the
cursor from window to window. (This is equivalent
to the keystroke Ctrl N outside the menus). When the
screen is split into four sections, the order of
rotation is:
┌───┬───┐
│ 1 │ 2 │
├───┼───┤
│ 3 │ 4 │
└───┴───┘
226
(M)ove: This option allows you to move the division bar(s)
between the windows in a specified direction. When
you select the "(M)ove division bar(s)" option, the
following menu will be displayed:
┌─────────────────┐
│Screen Movement: │
╞═════════════════╡
│(D)own │
│(L)eft │
│(R)ight │
│(U)p │
│(C)enter │
└─────────────────┘
Selecting "(U)p" or "(D)own" targets the horizontal
division bar between the top and bottom window(s).
"(L)eft" and "(R)ight" targets the vertical division
bar between the left and right window(s). The
targeted division bar will be moved in the direction
specified. Option "(C)enter" returns the division
bar(s) to the center location of the screen.
How far the bar will move depends upon your response
to:
┌────────────────────┐
│Question: │
╞════════════════════╡
│ │
│Define shift amount.│
│(Press 1,2,3, ...,0)│
│ │
└────────────────────┘
pressing 1, 2, ...9, or 0 (zero counts as 10), will
cause the bar to be moved so many columns or row in
the direction specified.
PC-Type II sets its own limits as to how far you can
adjust the position of these bars. If your request
exceeds these limits, no movement will take place.
With the screen split in four sections, moving the bar
to the right and down results in a screen like:
╔═══════╡████╞══════════╤╤═════╡████╞══════╗
║ ││ ║
║ ││ ║
║ ││ ║
║ ││ ║
╟....^....^....^....^...┴┴....^....^....^..╢
╠═══════╡████╞══════════╡╞═════╡████╞══════╣
║ ││ ║
║ ││ ║
╟....^....^....^....^...┴┴....^....^....^..╢
║██████████████████████████████████████████║
╨ Message line ╨
227
(E)dit: To view different files simultaneously, you must be
able to load other files into the windows.
You can do this by going to the Command Line and
issuing an EDIT command for a new file when the screen
is already split. Doing so will cause the new file to
replace the old file in the current window. Other
windows will be unaffected.
If multiple files are already loaded, use the "(E)dit
different files" option in the Screen Options menu.
This allows you to select one of the files currently
in memory and display it in the current window.
This is the procedure:
(1) Move the cursor to the window you want to use to
display the file of interest.
(2) Select the Screen Options menu and select the
"(E)dit different files" option. Doing so will
cause a menu to appear in which the names of the
files currently in memory are displayed as shown
below.
┌────────────────┐
│Active Files: │
╞════════════════╡
│(A) DOCHILI.PCT │
│(B) DOCREFMT.PCT│
└────────────────┘
(3) Press the key designated to the left of the file
you want to edit.
When you follow this procedure, the file you select
will replace the file in the current window.
When you remove a file from memory and multiple
windows are visible, PC-Type II will automatically
replace the deleted file in any windows in which it
was located with another file which is still active.
228